[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
break break Statement
break;
The break statement terminates the execution of the innermost
enclosing do, for, while or switch statement. Control is then
transferred to the statement following the terminated loop.
Notes: If the break keyword appears in any other context, a syntax
error is generated.
break terminates only the innermost loop.
-------------------------------- Example ---------------------------------
while ( 1 ) {
if ( condition )
break;
...
}
next-statement;
See Also:
do
for
while
switch
return
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson